class RichOther
{
	String title;
	String content;
	Date createDate = new Date();
	Date lastUpdateDate = new Date();
	String flag;  //1    2
	Integer ordernum = 500;
	
	static constraints = 
	{
		title(blank:false, maxSize:100)
		content(blank:false, maxSize:10000)
		flag(blank:false, maxSize:4)
	}	
	
}